Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IfW: add VTK output of slice in XY to driver #2201

Merged
merged 10 commits into from
Dec 22, 2024

Conversation

andrew-platt
Copy link
Collaborator

This PR is ready to merge.

NOTE: this is a duplicate of #1643 which was automatically closed when the dev-unstable-pointers branch was deleted. See discussions on that PR.

Feature or improvement description
This allows visualizing a slice through hub-height (or other height) when comparing with a simulation. The user can specify the height at which to export the slice. At the moment it is a very slow process due to the looping and because it exports over the entire time range (this could be improved later).

Screenshot 2023-06-21 at 2 26 44 PM
This figure shows the XY plane at the hub height for a Mann wind field (HAWC format). The vertical plane is exported from the driver using the WrVTK option. Both are taken at 23.625 seconds.

Related issue, if one exists
#1643

Impacted areas of the software
InflowWind driver only

Additional supporting information
During testing of the wake added turbulence feature, I ran into issues in verifying that the background turbulence was being added correctly. To check this, I needed some way to visualize the XY plane through the hub from the Mann box turbulence.

Test results, if applicable
No test cases are affected. I did not add a test case for this since it is a very slow code to execute.

@andrew-platt andrew-platt added this to the v4.0.0 milestone May 10, 2024
@andrew-platt andrew-platt self-assigned this May 10, 2024
@andrew-platt
Copy link
Collaborator Author

andrew-platt commented May 10, 2024

@andrew-platt andrew-platt force-pushed the f/ifw_driver_XYslice branch from 9b4a7fa to 0f058b6 Compare May 11, 2024 23:13
@andrew-platt
Copy link
Collaborator Author

Due to time and funding constraints, we will not add the other output planes. There are placeholders in the code for now, and IfW driver input file supports this, but those will have to be filled out at a later time.

@andrew-platt andrew-platt merged commit 1413d80 into OpenFAST:dev Dec 22, 2024
21 checks passed
@andrew-platt andrew-platt deleted the f/ifw_driver_XYslice branch December 22, 2024 22:57
andrew-platt added a commit that referenced this pull request Dec 22, 2024
@andrew-platt andrew-platt mentioned this pull request Dec 24, 2024
38 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant